package guida.ccf.gzuexaminesystem.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 
 * </p>
 *
 * @author ccf
 * @since 2023-11-03
 */
@Getter
@Setter
@TableName("student_info")
@ApiModel(value = "StudentInfo对象", description = "学生对象")
public class StudentInfo implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("主键")
    @TableId("id")
    private Long id;

    @ApiModelProperty("学号")
    @TableField("student_id")
    private String studentId;

    @ApiModelProperty("密码")
    @TableField("password")
    private String password;

    @ApiModelProperty("姓名")
    @TableField("name")
    private String name;

    @ApiModelProperty("专业")
    @TableField("major")
    private String major;

    @ApiModelProperty("年级")
    @TableField("grade")
    private String grade;

    @ApiModelProperty("学院")
    @TableField("college")
    private String college;

    @ApiModelProperty("权限字段")
    @TableField("role_type")
    private String roleType;
}
